#ifndef INC_MT6816_H
#define INC_MT6816_H
#include "inc_file.h"



#define MT6701ADDRES		(0x06<<1)
#define MT6701RegH			0x03
#define MT6701RegL			0x04
#define	MT6701AdcPin		ADC_CH_1_PA0
#define	MT6701AdcMIn		2720	
#define MT6701RESOLUTION	4096
#define MT6701RESCNT		3277 //(0.8 * MT6701RESOLUTION)
#define MT6701RESCNTX2		6999 //(0.8 * MT6701RESOLUTION)

//adcval=492+MT6701AdcMIn   AdcMIn=11   AdcMax=1122 adcV=0.389172  6206

u16 ADC_GetData(u8 ADC_Channel);
void Mt6701Init(void);
//float getMt6701AngleAdc(void);
void getMt6701AngleAdc(void);
float bsp_Mt6701GetAngle_1(void);









#endif

